package com.luanmad.ajax.dtree.manager;

import java.sql.SQLException;
import java.util.List;

import com.luanmad.ajax.dtree.model.TreeNodes;

/**
 *
 * @author  luanmad!
 * @version V1.0  2009-8-16 09:50:07
 * forum:www.zoomhoo.com
 */
public interface TreeNodesManager
{
	void addNode(TreeNodes treeNodes)throws SQLException;
    void updateNode(TreeNodes treeNodes)throws SQLException;
    void deleteNode(int id)throws SQLException;
    List queryNodes(String sql)throws SQLException;
    String sortNode(TreeNodes treeNodes,String move)throws SQLException;
    void updateByselectiveKey(int id,int sort)throws SQLException;
    
}
 